package com.google.android.exoplayer2.audio;

import androidx.annotation.Nullable;
import java.nio.ByteBuffer;
import o.abq;
import o.aby;
import o.acj;

public interface AudioSink {

    public static final class ConfigurationException extends Exception {
        public ConfigurationException(Throwable th) {
            super(th);
        }

        public ConfigurationException(String str) {
            super(str);
        }
    }

    public static final class InitializationException extends Exception {
        public final int ˎ;

        public InitializationException(int i, int i2, int i3, int i4) {
            super("AudioTrack init failed: " + i + ", Config(" + i2 + ", " + i3 + ", " + i4 + ")");
            this.ˎ = i;
        }
    }

    public static final class WriteException extends Exception {
        public final int ॱ;

        public WriteException(int i) {
            super("AudioTrack write failed: " + i);
            this.ॱ = i;
        }
    }

    public interface d {
        void ˊ(int i);

        void ॱ();

        void ॱ(int i, long j, long j2);
    }

    abq ʻ();

    void ʼ();

    void ʽ();

    boolean ˊ();

    void ˋ(float f);

    void ˋ(int i);

    void ˋ(aby o_aby);

    boolean ˋ();

    void ˎ() throws WriteException;

    void ˎ(int i, int i2, int i3, int i4, @Nullable int[] iArr, int i5, int i6) throws ConfigurationException;

    void ˎ(d dVar);

    boolean ˎ(int i, int i2);

    long ˏ(boolean z);

    void ˏ();

    void ˏ(acj o_acj);

    abq ॱ(abq o_abq);

    void ॱ();

    boolean ॱ(ByteBuffer byteBuffer, long j) throws InitializationException, WriteException;

    void ॱॱ();

    void ᐝ();
}
